<?php
/* defines.inc 2006-07-02 12:48:44
   Conference Registration - Registration for conferences - A XOOPS CMS Module
   Copyright (c) 2006 Kevin van Haaren, US
   URL:     http://www.superfantasmoworld.com/
   Contact: kevin@vanhaaren.net
 	
   XOOPS
   Copyright (c) 2000 XOOPS.org
   URL:     http://www.xoops.org/
    
   This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    
 */
 
//The next comment block is for PHPDocumentor
/**
 * Conference Registration - Registration for conferences
 * 
 * Non language specific constant definitions
 * 
 * @author Kevin van Haaren (kevin@vanhaaren.net)
 * @copyright 2006 Kevin van Haaren, US
 * @package CONFREG
 * @subpackage Definitions
 * 
 */


/**
* The module directory name
*/
define('CONFREG_DIR', 'confreg');

/**#@+
 * Constants for CONFREG objects
 */


/**
* Full file path to CONFREG directory
*/
define('CONFREG_PATH',XOOPS_ROOT_PATH."/modules/".CONFREG_DIR);
/** 
* URL to CONFREG
*/
define('CONFREG_URL',XOOPS_URL."/modules/".CONFREG_DIR);

/** 
 * Constant defs for tables used by CONFREG
 *
 */


/**#@-*/

/**#@+
 * Constants for ModgenObject variable initialisation
 * and used by XBSMODGENEditForm to determine field type to display
 */

define("XBS_FRM_CHECKBOX",1);
define("XBS_FRM_DATETIME",2);
define("XBS_FRM_FILE",3);
define("XBS_FRM_HIDDEN",4);
define("XBS_FRM_LABEL",5);
define("XBS_FRM_PASSWORD",5);
define("XBS_FRM_RADIO",6);
define("XBS_FRM_RADIOYN",7);
define("XBS_FRM_SELECT",8);
define("XBS_FRM_CDMCOUNTRY",9);
define("XBS_FRM_CDMLANG",10);
define("XBS_FRM_CDMCURRENCY",11);
define("XBS_FRM_CDMSELECT",12);
define("XBS_FRM_TEXTBOX",13);
define("XBS_FRM_TEXTAREA",14);
define("XBS_FRM_DATESELECT",15);
/**#@-*/

/**#@+
 * Some useful data regexp validity patterns
 */
define("XBS_PAT_INT","/^\d*$/");
define("XBS_PAT_DECIMAL","/^\d*\.\d*$/");
define("XBS_PAT_BOOLINT","/^[01]$/");
define("XBS_PAT_TEXT","/^[\s\w]*$/");
define("XBS_PAT_ABSPATH","/^\/[\w\/]*$/");
/**#@-*/


/*
 * This file was generated by XBS ModGen, (c) 2006 A Kitson, UK. See http://xoobs.net
 * ModGen is a Module Code Generator for the Xoops CMS.  See http://xoops.org
 */
?>